const state={
    orderTimeControl:{
        orderTimeLimit:0,
        startTime:0,
    },
    localizeLang:'zh'
}
const mutations={
    SET_LANG(state, data){
        state.localizeLang=data
    },
    SET_ORDER_TIME_LIMIT: (state, data) => {
        if(data.startTime>state.orderTimeControl.startTime){
            state.orderTimeControl=data
        }
    },
}
const actions={

}
export default {
    namespaced: true,
    state,
    mutations,
    actions
}